import { createApp } from 'vue';
import router from './router';
import App from './App';

import * as echarts from 'echarts'

import {
    Button, Input, Modal, Card, Form, Layout, Menu,
    Table, Space, Tag, Tooltip, Image, Select, InputNumber,
    Alert
} from 'ant-design-vue';

const app = createApp(App);

app.use(Button);
app.use(Input);
app.use(Modal);
app.use(Card);
app.use(Form);
app.use(Layout);
app.use(Menu);
app.use(Table);
app.use(Space);
app.use(Tag);
app.use(Tooltip);
app.use(Image);
app.use(Select);
app.use(InputNumber);
app.use(Alert);

app.use(router);

app.echarts = echarts;

app.mount('#app')